﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using TimKen.DataAccess;
using Common;
namespace TimKen.Web.order
{
    public partial class MyOrderJson : TimKen.App.WebPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!Page.IsPostBack) {
              
                if (CurrentUserName == null || CurrentUserName == "")
                {
                    Alert("您必须登录！", "../Index.aspx");
                }
                OrderDAO da=new OrderDAO();
               string json=  JsonHelper.DataTableToJson(da.getMyOrder("tanyo520", LanguageID.ToString()));
               Response.Write(json);
               Response.End();
            }
        }
    }
}